<template>
  <div class="waterfall-silde" :style="style">
    <slot></slot>
  </div>
</template>

<script>
export default {
  computed: {
    style() {
      return {
        width: this.width + "px"
      }
    },
    width() {
      return this.$parent.width
    }
  }
}
</script>

<style lang="less" scoped>
.waterfall-silde {
  position: absolute;
}
</style>
